projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
663a50d
)
GtkBox: Set orientable style classes initially
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 18 Jul 2014 23:37:33 +0000
(19:37 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 18 Jul 2014 23:37:33 +0000
(19:37 -0400)
This was an omission, horizontal/vertical would only be set
when the orientation is changed.
gtk/gtkbox.c
patch
|
blob
|
history
diff --git
a/gtk/gtkbox.c
b/gtk/gtkbox.c
index dcabef1bfc6579a9e5e54eda1ce681c31697a80d..be1f3f6a4d71306f9d089831fcd4d4e64d753c9c 100644
(file)
--- a/
gtk/gtkbox.c
+++ b/
gtk/gtkbox.c
@@
-360,6
+360,8
@@
gtk_box_init (GtkBox *box)
private->spacing = 0;
private->spacing_set = FALSE;
private->baseline_pos = GTK_BASELINE_POSITION_CENTER;
+
+ _gtk_orientable_set_style_classes (GTK_ORIENTABLE (box));
}
static void